<?php
    require 'isok.php';
    require 'dbcon.php';
    $sql="select * from users";    
    $result=$db->query($sql);
    $bbsdata=$result->fetch_all(MYSQLI_BOTH);
    $num=$result->num_rows;
    $result->free_result();
    $db->close();
    require 'users_html.php';
